﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Forest.Web.Framework.Mvc;
using System.ComponentModel.DataAnnotations;

namespace Forest.Cat.Admin.Models.Resumes
{
    public class TrainingModel : BaseEntityModel
    {
        [Required(ErrorMessage = "培训机构必须输入!")]
        public string Institution { get; set; }
        public string Course { get; set; }
        public string Location { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public string Qualification { get; set; }
        [StringLength(1000,ErrorMessage="只能输入1000个汉字")]
        public string Notes { get; set; }

        public string StartYear { get; set; }
        public string StartMonth { get; set; }
        public string EndYear { get; set; }
        public string EndMonth { get; set; }
        public Guid ResumeId { get; set; }

        public string ReturnUrl { get; set; }
    }
}